package com.qidian.mes.machine.service;

import com.qidian.common.pojo.MESResult;
import com.qidian.mes.pojo.MachineType;

/**
 * @Author 任超
 * Time 2024/10/15 19:45
 */
public interface MachineTypeService {
    MESResult list(int parentId);

    MESResult queryList(MachineType machineType);

    MESResult addMachineType(MachineType machineType);

    MESResult selectById(Long typeId);

    MESResult updateRowTypeParent(Long typeId);

    MESResult updateMachineType(MachineType machineType);

    MESResult selectByCode(String code);

    MESResult updateMachineTypeStatus(Long typeId);
}
